﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Collections;
using System.Web.Mvc;

namespace Beeldbankmvc.Models
{
    public class PageTextModel
    {
        public PageTextModel()
        {
        }

        public int Id { get; set; }

        [Required(ErrorMessage = "Url is verplicht")]
        [DataType(DataType.Text)]
        [DisplayName("Url *")]
        public string Url { get; set; }

        [Required(ErrorMessage = "Titel is verplicht")]
        [DataType(DataType.Text)]
        [DisplayName("Titel *")]
        public string Title { get; set; }

        [Required(ErrorMessage = "Bodytekst is verplicht")]
        [DataType(DataType.Text)]
        [DisplayName("Bodytekst *")]
        public string Bodytext { get; set; }

        [Required(ErrorMessage = "Publicatie is verplicht")]
        [DataType(DataType.Text)]
        [DisplayName("Publicatie *")]
        public string Publication { get; set; }
    }

}